﻿@model YuFeng.Models.Product.Product
@{
    ViewBag.Title = "南通御丰塑钢包装有限公司";
    Layout = "~/Views/Shared/_Layout.cshtml";
    int i = 1;
}
<div class="page-wrap">
    @Html.Partial("_Header")
    <div class="content clearfix">
        @*<img src="~/assets/images/application-12.png" />*@
        @Html.Raw(Model.Content)
    </div>
    @Html.Partial("_Footer")
</div>
@section scripts
{
    <script type="text/javascript">
        var preLoading = function (events) {
            var images = [];
            var imgs = document.images;
            for (var i = 0; i < imgs.length; i++) {
                images.push(imgs[i].src);
            }

            @*images.push('@Url.Content("~/assets/images/banner-1.png")');
            images.push('@Url.Content("~/assets/images/logo.png")');
            images.push('@Url.Content("~/assets/images/menu-1.png")');
            images.push('@Url.Content("~/assets/images/menu-2.png")');
            images.push('@Url.Content("~/assets/images/menu-3.png")');
            images.push('@Url.Content("~/assets/images/menu-4.png")');
            images.push('@Url.Content("~/assets/images/menu-5.png")');*@

            imgLoading(images, {
                complete: function () {
                    events.complete();
                }
            });
        };
        $(function () {
            preLoading({
                complete: function () {
                    // 页面预加载结束；
                    $(".loader").hide();
                    $(".page-wrap").show();
                }
            });
        });
    </script>
}
